﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8" />
    <title>批处理</title>
    <link href="../../../Scripts/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="../../../Scripts/easyUI145/themes/color.css" rel="stylesheet" />
    <link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../../Scripts/bootstrap/js/jquery.min.js"></script>
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <script src="../../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/bootstrap/js/bootstrap.min.js"></script>
    <!-- 自己的系统风格统一. -->
    <link href="../../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
    <link href="../../../Style/skin/css/Default.css" rel="stylesheet" />
    <!-- 引用通用的js文件. -->
    <script type="text/javascript" src="../../../Scripts/config.js"></script>
    <script type="text/javascript" src="../../../Comm/Gener.js"></script>
    <script src="../../Admin.js"></script>
    <script src="DDLBar.js"></script>
    <script src="../../CCFlowEnum.js"></script>
    <script src="../../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
    <script src="../../../Scripts/vue.js"></script>
    <script type="text/javascript" language="javascript">
        var nodeID = GetQueryString("FK_Node");
        var node = new Entity("BP.WF.Node", nodeID);
        var nodeID = GetQueryString("FK_Node");
        var node = null;

        //页面启动函数.
        $(function () {

            InitBar(BatchRole.Self);

            node = new Entity("BP.WF.Node", nodeID);

            //赋值.
            //GenerFullAllCtrlsVal(node);  效果不好
            //初始化批处理模式
            var url = node.GetPara("BatchSelfUrl");
            $("#TB_Url").val(url);

        });

        function Save() {

            var url = $("#TB_Url").val();
            if (url == undefined || url == '') {
                alert("请输入URL");
                return;
            }
            $("#Btn_Save").html('正在保存请稍候...');

            node.BatchRole = BatchRole.Self;

            //设置字段分组
            node.SetPara("BatchSelfUrl", url);
            node.Update();

            Reload();
        }

    </script>
</head>
<body>
    <div id="bar">
    </div>
    <form id="cc">
        <fieldset>
            <legend>
                <label>自定义审核</label>
            </legend>
            <ul>
                <li>批处理页面解析URL: </li>
                <li>格式:/App/Deal.htm </li>
            </ul>

            <div style=" padding-left:50px;">
               表单URL:<input type="text" id="TB_Url" style="width:50%;" />
            </div>
            <br />
            <br />

            <legend>
                <label>开发说明</label>
            </legend>
            <ul>
                <li> 1. 自己写一个表单，把表单的url配置到上面的文本框里。</li>
                <li> 2. 在解析的时候，系统就会转到该表单上来，并传入NodeID的参数，您就可以根据这个NodeID来获得当前节点的待办。</li>
            </ul>
        </fieldset>


    </form>

</body>
</html>
